package com.itheima.motorcycletype.service;

import com.github.pagehelper.Page;
import com.itheima.motorcycletype.pojo.MotorcycleType;

import java.util.Map;

public interface MotorcycleTypeService {
    Page<MotorcycleType> selectAll(Map<String,Object> map);


    Integer add(MotorcycleType motorcycleType);

    Integer update(MotorcycleType motorcycleType);

    Integer delete(Integer id);
}
